.class public Lcom/waiqin365/lightwork/directory/b/b;
.super Landroid/widget/BaseAdapter;


# instance fields
.field private a:Landroid/content/Context;

.field private b:Landroid/view/LayoutInflater;

.field private c:Ljava/util/List;

.field private d:Ljava/util/List;

.field private e:Lcom/waiqin365/lightwork/directory/b/b;

.field private f:I

.field private g:I


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/List;)V
    .locals 2

    const/4 v1, -0x1

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->c:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->d:Ljava/util/List;

    iput-object p0, p0, Lcom/waiqin365/lightwork/directory/b/b;->e:Lcom/waiqin365/lightwork/directory/b/b;

    iput v1, p0, Lcom/waiqin365/lightwork/directory/b/b;->f:I

    iput v1, p0, Lcom/waiqin365/lightwork/directory/b/b;->g:I

    iput-object p1, p0, Lcom/waiqin365/lightwork/directory/b/b;->a:Landroid/content/Context;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->a:Landroid/content/Context;

    const-string/jumbo v1, "layout_inflater"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->b:Landroid/view/LayoutInflater;

    invoke-direct {p0, p2}, Lcom/waiqin365/lightwork/directory/b/b;->a(Ljava/util/List;)V

    return-void
.end method

.method private a()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->c:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->c:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/share/a/a;->e()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/share/a/a;->a()Z

    move-result v2

    if-eqz v2, :cond_1

    :cond_0
    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/b/b;->d:Ljava/util/List;

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_2
    return-void
.end method

.method private a(Lcom/waiqin365/lightapp/kehu/share/a/a;)V
    .locals 4

    const/4 v0, 0x0

    iget-boolean v1, p1, Lcom/waiqin365/lightapp/kehu/share/a/a;->v:Z

    if-nez v1, :cond_1

    invoke-virtual {p1}, Lcom/waiqin365/lightapp/kehu/share/a/a;->b()Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-nez v1, :cond_1

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/b/b;->a:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v1

    sget-object v3, Lcom/waiqin365/base/db/offlinedata/q;->b:Lcom/waiqin365/base/db/offlinedata/q;

    invoke-virtual {v1, p1, v3, v0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Lcom/waiqin365/lightapp/kehu/share/a/a;Lcom/waiqin365/base/db/offlinedata/q;Z)Ljava/util/ArrayList;

    move-result-object v1

    invoke-interface {v2, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/b/b;->a:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v1

    sget-object v3, Lcom/waiqin365/base/db/offlinedata/q;->a:Lcom/waiqin365/base/db/offlinedata/q;

    invoke-virtual {v1, p1, v3}, Lcom/waiqin365/base/db/offlinedata/m;->a(Lcom/waiqin365/lightapp/kehu/share/a/a;Lcom/waiqin365/base/db/offlinedata/q;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-interface {v2, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    move v1, v0

    :goto_0
    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    const/4 v3, 0x1

    iput-boolean v3, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->e:Z

    invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    iput-object p1, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->a:Lcom/waiqin365/lightapp/kehu/share/a/a;

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    invoke-direct {p0, v2, p1}, Lcom/waiqin365/lightwork/directory/b/b;->a(Ljava/util/List;Lcom/waiqin365/lightapp/kehu/share/a/a;)V

    :cond_1
    return-void
.end method

.method private a(Ljava/util/List;)V
    .locals 3

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->d:Ljava/util/List;

    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->c:Ljava/util/List;

    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/share/a/a;->b()Ljava/util/List;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightwork/directory/b/b;->a(Ljava/util/List;)V

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    return-void
.end method

.method private a(Ljava/util/List;Lcom/waiqin365/lightapp/kehu/share/a/a;)V
    .locals 2

    if-eqz p1, :cond_0

    if-nez p2, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->c:Ljava/util/List;

    invoke-interface {v0, p2}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result v0

    const/4 v1, -0x1

    if-eq v0, v1, :cond_0

    invoke-virtual {p2, p1}, Lcom/waiqin365/lightapp/kehu/share/a/a;->a(Ljava/util/List;)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/b/b;->c:Ljava/util/List;

    add-int/lit8 v0, v0, 0x1

    invoke-interface {v1, v0, p1}, Ljava/util/List;->addAll(ILjava/util/Collection;)Z

    goto :goto_0
.end method


# virtual methods
.method public a(I)V
    .locals 4

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->c:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->c:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/share/a/a;->c()I

    move-result v3

    if-gt v3, p1, :cond_0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/share/a/a;->c()I

    move-result v3

    if-ge v3, p1, :cond_1

    const/4 v3, 0x1

    iput-boolean v3, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->d:Z

    invoke-direct {p0, v0}, Lcom/waiqin365/lightwork/directory/b/b;->a(Lcom/waiqin365/lightapp/kehu/share/a/a;)V

    :goto_1
    iget-object v3, p0, Lcom/waiqin365/lightwork/directory/b/b;->d:Ljava/util/List;

    invoke-interface {v3, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    iput-boolean v2, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->d:Z

    goto :goto_1

    :cond_2
    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/b/b;->notifyDataSetChanged()V

    return-void
.end method

.method public a(II)V
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightwork/directory/b/b;->f:I

    iput p2, p0, Lcom/waiqin365/lightwork/directory/b/b;->g:I

    return-void
.end method

.method public b(I)V
    .locals 6

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->d:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    if-eqz v0, :cond_3

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/share/a/a;->d()Z

    move-result v1

    if-nez v1, :cond_0

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->d:Z

    if-nez v1, :cond_4

    const/4 v1, 0x1

    :goto_0
    iput-boolean v1, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->d:Z

    invoke-direct {p0}, Lcom/waiqin365/lightwork/directory/b/b;->a()V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/b/b;->notifyDataSetChanged()V

    :cond_0
    iget-boolean v1, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->v:Z

    if-eqz v1, :cond_3

    new-instance v1, Landroid/content/Intent;

    iget-object v3, p0, Lcom/waiqin365/lightwork/directory/b/b;->a:Landroid/content/Context;

    const-class v4, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;

    invoke-direct {v1, v3, v4}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v3, "id"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->f:Ljava/lang/String;

    invoke-virtual {v1, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v3, "name"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->g:Ljava/lang/String;

    invoke-virtual {v1, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v3, p0, Lcom/waiqin365/lightwork/directory/b/b;->a:Landroid/content/Context;

    invoke-static {v3}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v3

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->l:Ljava/lang/String;

    invoke-virtual {v3, v4}, Lcom/waiqin365/base/db/offlinedata/m;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    const-string/jumbo v4, "department"

    invoke-virtual {v1, v4, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v3, "emp_position"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->o:Ljava/lang/String;

    invoke-virtual {v1, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v3, "phone"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->i:Ljava/lang/String;

    invoke-virtual {v1, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v3, "tel"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->j:Ljava/lang/String;

    invoke-virtual {v1, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v3, "pic_url"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->q:Ljava/lang/String;

    invoke-virtual {v1, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v3

    iget-object v4, p0, Lcom/waiqin365/lightwork/directory/b/b;->a:Landroid/content/Context;

    invoke-virtual {v3, v4}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->f:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_1

    const-string/jumbo v3, "0"

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v4

    iget-object v5, p0, Lcom/waiqin365/lightwork/directory/b/b;->a:Landroid/content/Context;

    invoke-virtual {v4, v5}, Lcom/waiqin365/base/login/mainview/a;->c(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_1

    const-string/jumbo v3, "1"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->s:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_2

    :cond_1
    const-string/jumbo v3, "sendable"

    invoke-virtual {v1, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    :cond_2
    const-string/jumbo v2, "toChatUsername"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v4

    iget-object v5, p0, Lcom/waiqin365/lightwork/directory/b/b;->a:Landroid/content/Context;

    invoke-virtual {v4, v5}, Lcom/waiqin365/base/login/mainview/a;->k(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, "_"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->f:Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->a:Landroid/content/Context;

    invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->a:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Landroid/app/Activity;->overridePendingTransition(II)V

    :cond_3
    return-void

    :cond_4
    move v1, v2

    goto/16 :goto_0
.end method

.method public getCount()I
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->d:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 8

    const/4 v7, -0x1

    const/16 v6, 0x8

    const/4 v5, 0x3

    const/4 v4, 0x0

    if-nez p2, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->b:Landroid/view/LayoutInflater;

    const v1, 0x7f030123

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    new-instance v1, Lcom/waiqin365/lightwork/directory/b/c;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightwork/directory/b/c;-><init>(Lcom/waiqin365/lightwork/directory/b/b;)V

    const v0, 0x7f0c069c

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightwork/directory/b/c;->a:Landroid/widget/TextView;

    const v0, 0x7f0c069a

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, v1, Lcom/waiqin365/lightwork/directory/b/c;->b:Landroid/widget/ImageView;

    const v0, 0x7f0c069b

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/CircleImageView;

    iput-object v0, v1, Lcom/waiqin365/lightwork/directory/b/c;->c:Lcom/waiqin365/base/login/mainview/CircleImageView;

    const v0, 0x7f0c069d

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, v1, Lcom/waiqin365/lightwork/directory/b/c;->d:Landroid/widget/ImageView;

    invoke-virtual {p2, v1}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/b/b;->d:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    if-eqz v0, :cond_4

    invoke-direct {p0, v0}, Lcom/waiqin365/lightwork/directory/b/b;->a(Lcom/waiqin365/lightapp/kehu/share/a/a;)V

    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->d:Landroid/widget/ImageView;

    invoke-virtual {v2, v0}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->a:Landroid/widget/TextView;

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->c:Lcom/waiqin365/base/login/mainview/CircleImageView;

    invoke-virtual {v2, v0}, Lcom/waiqin365/base/login/mainview/CircleImageView;->setTag(Ljava/lang/Object;)V

    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->d:Landroid/widget/ImageView;

    invoke-virtual {v2}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_0

    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->d:Landroid/widget/ImageView;

    invoke-virtual {v2}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    iget-boolean v2, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->v:Z

    if-eqz v2, :cond_6

    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->d:Landroid/widget/ImageView;

    invoke-virtual {v2, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    :cond_0
    :goto_1
    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->a:Landroid/widget/TextView;

    iget-object v3, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->g:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->a:Landroid/widget/TextView;

    invoke-virtual {v2}, Landroid/widget/TextView;->getTag()Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_1

    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->a:Landroid/widget/TextView;

    invoke-virtual {v2}, Landroid/widget/TextView;->getTag()Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/share/a/a;->d()Z

    move-result v2

    if-eqz v2, :cond_7

    iget-boolean v2, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->v:Z

    if-nez v2, :cond_7

    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->a:Landroid/widget/TextView;

    const/16 v3, 0x3e

    invoke-virtual {v2, v3, v4, v4, v4}, Landroid/widget/TextView;->setPadding(IIII)V

    :cond_1
    :goto_2
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_2

    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/share/a/a;->d()Z

    move-result v2

    if-eqz v2, :cond_8

    iget-boolean v2, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->v:Z

    if-eqz v2, :cond_8

    const v2, 0x7f0203a2

    invoke-virtual {p2, v2}, Landroid/view/View;->setBackgroundResource(I)V

    :cond_2
    :goto_3
    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/share/a/a;->d()Z

    move-result v2

    if-eqz v2, :cond_9

    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->b:Landroid/widget/ImageView;

    invoke-virtual {v2, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    :cond_3
    :goto_4
    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/share/a/a;->c()I

    move-result v2

    mul-int/lit8 v2, v2, 0x23

    invoke-virtual {p2, v2, v5, v5, v5}, Landroid/view/View;->setPadding(IIII)V

    iget-boolean v2, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->v:Z

    if-eqz v2, :cond_c

    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->c:Lcom/waiqin365/base/login/mainview/CircleImageView;

    invoke-virtual {v2, v4}, Lcom/waiqin365/base/login/mainview/CircleImageView;->setVisibility(I)V

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->q:Ljava/lang/String;

    if-eqz v2, :cond_b

    const-string/jumbo v2, ""

    iget-object v3, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->q:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_b

    const-string/jumbo v2, "0"

    iget-object v3, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->q:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_b

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightwork/directory/b/b;->a:Landroid/content/Context;

    invoke-virtual {v2, v3}, Lcom/waiqin365/base/login/mainview/a;->m(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    iget-object v3, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->f:Ljava/lang/String;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v4, "/"

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v4, "/"

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v4, "face"

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v4, "/"

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ".jpg?timestamp="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->q:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/b/b;->a:Landroid/content/Context;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/b/c;->c:Lcom/waiqin365/base/login/mainview/CircleImageView;

    invoke-static {v2, v1, v0}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;Landroid/widget/ImageView;Ljava/lang/String;)V

    :cond_4
    :goto_5
    return-object p2

    :cond_5
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/directory/b/c;

    move-object v1, v0

    goto/16 :goto_0

    :cond_6
    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->d:Landroid/widget/ImageView;

    invoke-virtual {v2, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    goto/16 :goto_1

    :cond_7
    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->a:Landroid/widget/TextView;

    invoke-virtual {v2, v4, v4, v4, v4}, Landroid/widget/TextView;->setPadding(IIII)V

    goto/16 :goto_2

    :cond_8
    const v2, 0x7f0203a1

    invoke-virtual {p2, v2}, Landroid/view/View;->setBackgroundResource(I)V

    goto/16 :goto_3

    :cond_9
    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->b:Landroid/widget/ImageView;

    invoke-virtual {v2, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-boolean v2, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->d:Z

    if-eqz v2, :cond_a

    iget v2, p0, Lcom/waiqin365/lightwork/directory/b/b;->f:I

    if-eq v2, v7, :cond_3

    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->b:Landroid/widget/ImageView;

    iget v3, p0, Lcom/waiqin365/lightwork/directory/b/b;->f:I

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    goto/16 :goto_4

    :cond_a
    iget v2, p0, Lcom/waiqin365/lightwork/directory/b/b;->g:I

    if-eq v2, v7, :cond_3

    iget-object v2, v1, Lcom/waiqin365/lightwork/directory/b/c;->b:Landroid/widget/ImageView;

    iget v3, p0, Lcom/waiqin365/lightwork/directory/b/b;->g:I

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    goto/16 :goto_4

    :cond_b
    iget-object v0, v1, Lcom/waiqin365/lightwork/directory/b/c;->c:Lcom/waiqin365/base/login/mainview/CircleImageView;

    const v1, 0x7f020263

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/CircleImageView;->setImageResource(I)V

    goto :goto_5

    :cond_c
    iget-object v0, v1, Lcom/waiqin365/lightwork/directory/b/c;->c:Lcom/waiqin365/base/login/mainview/CircleImageView;

    invoke-virtual {v0, v6}, Lcom/waiqin365/base/login/mainview/CircleImageView;->setVisibility(I)V

    goto :goto_5
.end method
